#map-container {
  width: 100%;
  height: calc(100vh - 88px);

  /* 确保鼠标样式能够正确显示 */
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 起飞点设置模式下的鼠标样式 */
#map-container.crosshair-cursor {
  cursor: crosshair !important;
}

/* 绘制模式下的鼠标样式 */
#map-container.draw-cursor {
  cursor: crosshair !important;
}

.amap-overlay-text-container {
  padding: 4px 6px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: rgb(0 0 0 / 80%);
  border: none;
  border-radius: 4px;
}

/* 删除按钮样式 */
.delete-button {
  position: absolute;
  z-index: 10000;
  width: 100px;
  padding: 4px;
}

.delete-confirm-btn {
  width: 80px;
  padding: 4px 6px;
  margin: 0;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  background-color: rgb(0 0 0 / 80%);
  border-radius: 4px;
}

.tips {
  position: absolute;
  top: 20px;
  left: 18%;
  z-index: 1000;
  min-width: 150px;
  padding: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: #303133;
  background: white;
  border-radius: 4px;
}

.face-tips {
  left: 23%;
}

.redtips {
  position: absolute;
  top: 60px;
  left: 23%;
  z-index: 1000;
  min-width: 150px;
  padding: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
  background: red;
  border-radius: 4px;
}

.line-tooltip {
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: 1000;
  display: none;
  min-width: 100px;
  padding: 5px;
  font-size: 12px;
  color: #fff;
  background-color: rgb(0 0 0 / 80%);
  border-radius: 4px;
}

.marker-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-weight: bold;
  background-color: white;
  border-radius: 50%;
}

.takeoff-point {
  position: absolute;
  top: 15%;
  left: 61%;
  width: 60%;
  height: 60px;
  font-size: 12px;
  line-height: 60px;
  color: #fff;
  text-align: center;
  background-color: rgb(0 0 0 / 50%);
  border-radius: 4px;
  transform: translate(-50%, -15%);
}

.face-takeoff-point {
  width: 50%;
}

/* 机场坐标 */
.airport-coordinate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: auto;
  font-weight: bold;
  color: white;
  background: rgb(23 145 252 / 40%);
  border-radius: 50%;
}

.airportstyle {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 60px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 80%);
  pointer-events: none;
}

.title-marker {
  position: relative;
}

.tips-marker {
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 1000;
  display: none;
  padding: 2px 6px;
  font-size: 12px;
  color: white;
  white-space: nowrap;
  background: rgb(0 0 0 / 70%);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}

.white-marker {
  width: 15px;
  height: 15px;
  color: white;
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
}

/* 修复hover选择器 */
.title-marker:hover .tips-marker {
  display: block;
}

/* 删除整个面按钮样式 */
.delete-polygon-button-container {
  position: absolute;
  z-index: 1000;
}

.delete-polygon-tips-marker {
  padding: 6px 10px;
  font-size: 12px;
  color: white;
  white-space: nowrap;
  cursor: pointer;
  background: rgb(0 0 0 / 70%);
  border: none;
  border-radius: 4px;
}

.selected-marker .marker-index {
  /* 深蓝色背景 */
  color: #fff !important;
  background-color: #2f69eb !important;

  /* 白色文字 */
  border: 2px solid #fff !important;

  /* 白色边框 */
}

/* 机场标记 */
.airport-marker {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}